# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=nemo-qml-plugin-notifications
pkgver=1.1.0
pkgrel=1
pkgdesc="Notifications plugin for Nemo Mobile"
arch=('loong64' 'x86_64')
url="https://github.com/sailfishos/nemo-qml-plugin-notifications"
license=('BSD')
depends=('qt5-declarative')
source=("https://github.com/sailfishos/nemo-qml-plugin-notifications/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('b95194b21fb383af7d1207ed3e7fe1c5262900141272327d2513c2330030c6ea4f92510b0a007210a2167a76b685e12dfc4e1145b73faf007a724f4044706d3f')

build() {
  cd nemo-qml-plugin-notifications-$pkgver
  qmake-qt5
  make
}

package() {
  cd nemo-qml-plugin-notifications-$pkgver
  make INSTALL_ROOT="$pkgdir" install
}
